home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-11-29 | 758 b | 45 lines | [TEXT/PJMM] |
- unit BaseGlobals;
-
- interface
-
- const
- global_strh_id = 128;
- save_changes_alert_id = -1;
- fail_alert_id = -1;
- fail_strh_id = -1;
-
- pref_name = 1;
- pref_launch_str = 2;
- help_menu_text = 3;
- quiting_str = 4;
- closing_str = 5;
-
- var
- M_HM_Help_I: integer;
- MH_Apple, MH_File, MH_Edit: menuHandle;
- quitNow: boolean;
-
- function GetGlobalString (i: integer): str255;
- procedure AlertUser (i: integer);
-
- implementation
-
- function GetGlobalString (i: integer): str255;
- var
- s: str255;
- begin
- GetIndString(s, global_strh_id, i);
- GetGlobalString := s;
- end;
-
- procedure AlertUser (i: integer);
- var
- s: str255;
- a: integer;
- begin
- GetIndString(s, fail_strh_id, i);
- ParamText(s, '', '', '');
- a := Alert(fail_alert_id, nil);
- end;
-
- end.